import Mock from 'mockjs'

export default {
    notices: Mock.mock({
        code: 200,
        success: true,
        data: {
            'total': '@integer(10,20)',
            'data|10': [
                {
                    'id|+1': 1,
                    'title': '@cparagraph(1)',
                    'content': '@cparagraph',
                    'createTime': '@date("yyyy-MM-dd HH:mm:ss")',
                    'publishTime': '@date("yyyy-MM-dd HH:mm:ss")',
                }
            ]
        }
    })
}